package com.study.talk.netty.message.response;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

public class SmsSendResponse extends TalkMessage {

    //验证码
    private String code;

    //手机号码
    private String phoneNumber;

    //用户名
    private String username;
    //是否成功
    private String status;

    private String message;

    @Override
    public byte getType() {
        return MessageType.SEND_SMS_RESPONSE;
    }

    public SmsSendResponse(String code, String phoneNumber, String username, String status, String message) {
        this.code = code;
        this.phoneNumber = phoneNumber;
        this.username = username;
        this.status = status;
        this.message = message;
    }

    public SmsSendResponse() {
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
